/* 基础样式 */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  color: #333;
}

/* 文件列表容器 */
.file-list-container {
  margin-top: 15px;
}

/* 文件夹分区样式 */
.folder-section {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.folder-section h3 {
  color: #555;
  margin-bottom: 10px;
  font-size: 16px;
}

/* 文件夹项样式 */
.folder-item {
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
  border: 1px solid #e0e0e0;
}

.folder-item:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

.folder-info {
  flex-grow: 1;
}

.folder-name {
  font-weight: 500;
  color: #333;
  margin-left: 10px;
}

/* 文件分区样式 */
.file-section {
  margin-top: 20px;
}

.file-section h3 {
  color: #555;
  margin-bottom: 10px;
  font-size: 16px;
}

/* 文件项样式 */
.file-item {
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
}

.file-info {
  flex-grow: 1;
}

.file-name {
  font-weight: 500;
}

.file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
  font-size: 13px;
  color: #666;
}

.file-path {
  display: block;
  width: 100%;
  font-size: 12px;
  color: #888;
  margin-top: 5px;
}

/* 下载按钮样式 */
.download-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.download-btn:hover {
  background-color: #45a049;
}

/* 响应式设计 */
@media (max-width: 600px) {
  .file-item, .folder-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .file-meta {
    flex-direction: column;
    gap: 3px;
  }
  
  .download-btn {
    margin-top: 10px;
    width: 100%;
  }
}